package com.engine4cloud.tdf.supervision.dto.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "矫正对象地区信息-请求对象")
public class JzdxAreaQueryDTO implements Serializable {

    /**
     * 省编码
     */
    @NotBlank(message = "省编码不能为空")
    @Schema(description = "省编码", example = "1")
    private String provinceCode;

    /**
     * 市编码
     */
    @NotBlank(message = "市编码不能为空")
    @Schema(description = "市编码", example = "2")
    private String cityCode;

    /**
     * 区县编码
     */
    @NotBlank(message = "区县编码不能为空")
    @Schema(description = "区县编码", example = "3")
    private String countyCode;

    /**
     * 乡镇areaId
     */
    @NotBlank(message = "区县编码不能为空")
    @Schema(description = "乡镇areaId", example = "4")
    private Long villageAreaId;
}
